package common.service.base.common;

import java.io.Serializable;

/**
 * @ClassName SessionInfo
 * @Description Todo
 * @Author yanghao
 * @Date 2018/8/27 上午10:55
 * Version 0.0.1
 **/
public class SessionInfo implements Serializable {
    private static final long serialVersionUID = -6849794423432423442L;
    private Long userId;
    
    /** 昵称*/
    private String name;

    /** 授权码*/
    private String code;

    /** 手机号码*/
    private String mobile;

    /** openId*/
    private String openIdApplet;
    
    /**
     * createTime
     */
    private String createTime;

    public SessionInfo(){
    }
    public SessionInfo(Long userId,String name, String code,String mobile,String createTime){
        this.userId= userId;
        this.name=name;
        this.code=code;
        this.mobile=mobile;
        this.createTime=createTime;
    }
    public SessionInfo(Long userId,String name, String code,String openIdApplet,String mobile,String createTime){
        this.userId= userId;
        this.name=name;
        this.code=code;
        this.openIdApplet=openIdApplet;
        this.mobile=mobile;
        this.createTime=createTime;
    }
    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }


    public String getOpenIdApplet() {
        return openIdApplet;
    }

    public void setOpenIdApplet(String openIdApplet) {
        this.openIdApplet = openIdApplet;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
}
